File Descriptor used by FileHandle under mod_perl 2.0.4 - is it a
am 30.06.2009 20:29:11 von Shibi NS--0016364ef4d6a4afef046d94fb19
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi All,
One of my application is using following code to execute a long running
process and the control is return to the user with link to log file so that
users can monitor the progress
$req->pool->cleanup_register(sub{$self->final_process( $req,$cgi) ;});
And in final_process sub I have File open for writing the process progress
my $log = new FileHandle("process.log", "a");
When I print the $log->fileno it print FD as 0 and I have couple other log
files opened after this all of these having random numbers like 12,15 etc.
my believe is FD 0 used for STDIN . Is this is bug or aim doing something
wrong ?
My Application is running Apache/2.2.9/Mod_perl 2.04/ perl, v5.8.8 under
Red Hat Enterprise Linux release 3
Shibi Ns
--0016364ef4d6a4afef046d94fb19
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi All,
One of my application is using following code to execute a l=
ong running process and the control is return to the user with link to log =
file so that users can monitor the progress
=A0 $req->pool=
->cleanup_register(sub{$self->final_process( $req,$cgi) ;});
And in final_process sub I have File open for writing the process progr=
ess
my $log =3D new FileHandle("process.log", "a&quo=
t;);
When I print the=A0 $log->fileno it print FD as 0=A0 and I h=
ave couple other log files opened after this all of these having random num=
bers like 12,15 etc. my believe is FD 0 used for STDIN . Is this is bug or =
aim doing something wrong ?
My Application is running Apache/2.2.9/Mod_perl 2.04/ perl, v5.8.8 unde=
r=A0 Red Hat Enterprise Linux release 3
Shibi Ns
--0016364ef4d6a4afef046d94fb19--